package org.linlinjava.litemall.db.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.linlinjava.litemall.db.dao.LitemallOrderTotalReturnHistoryMapper;
import org.linlinjava.litemall.db.dao.LitemallOrderTotalReturnMapper;
import org.linlinjava.litemall.db.domain.LitemallOrderTotalReturn;
import org.linlinjava.litemall.db.domain.LitemallOrderTotalReturnHistory;
import org.linlinjava.litemall.db.dto.RentPartQueryParam;
import org.linlinjava.litemall.db.service.LitemallOrderTotalReturnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 归还总计 Service 实现类
 */
@Service
public class LitemallOrderTotalReturnServiceImpl
        extends ServiceImpl<LitemallOrderTotalReturnMapper, LitemallOrderTotalReturn>
        implements LitemallOrderTotalReturnService {


    @Autowired
    private LitemallOrderTotalReturnHistoryMapper historyMapper;
    @Override
    public List<LitemallOrderTotalReturn> selectWithHistories(RentPartQueryParam param) {
        return historyMapper.selectWithHistories(param);
    }
}
